/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.config.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 缴费渠道关联项目明细配置表 config_payment_channel_item_detail 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @LocalDateTime 2022年03月01日
 */
@Table(name = "upcase.config_payment_channel_item_detail")
@Data
public class ConfigPaymentChannelItemDetail implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 缴费渠道id
     */
    @Column(name = "payment_channel_id")
    private String paymentChannelId;

    /**
     * 执收项目编码
     */
    @Column(name = "chit_code")
    private String chitCode;

    /**
     * 执收项目名称
     */
    @Column(name = "chit_name")
    private String chitName;

    /**
     * 对应收入项目编码
     */
    @Column(name = "init_code")
    private String initCode;

    /**
     * 对应收入项目名称
     */
    @Column(name = "init_name")
    private String initName;

    /**
     * 对应科目编码
     */
    @Column(name = "section_code")
    private String sectionCode;

    /**
     * 对应科目名称
     */
    @Column(name = "section_name")
    private String sectionName;

    /**
     * 操作标记(I-插入，U-更新，D-删除)
     */
    @Column(name = "op_type")
    private String opType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 最近更新时间
     */
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

    private static final long serialVersionUID = 1L;
}